<?php if( $planes[$i]['finalizado'] == 1) {?>
    <div style="position:absolute;top:0;left:0;width:100%;height:100%;background-color: #002a80;opacity:0.7;filter:alpha(opacity=70); ">

    </div>
    <div style="position:absolute;top:0;color:white;left:0;width:100%;height:100%;font-weight:bold;font-size:25px ">
        <div style="text-align:center;position:relative;display:block;margin:0 auto;-moz-transform: rotate(-45deg);-webkit-transform: rotate(-45deg);top:110px;border-top:white solid 2px;border-bottom:white solid 2px;">
            FINALIZADO
        </div>
    </div>
<?php } elseif ( date("Y-m-d") >= $planes[$i]['fecha'] ) { ?>
    <div style="position:absolute;top:0;left:0;width:100%;height:100%;background-color:black;opacity:0.7;filter:alpha(opacity=70); ">

    </div>
    <div style="position:absolute;top:0;color:red;left:0;width:100%;height:100%;font-weight:bold;font-size:25px ">
        <div style="text-align:center;position:relative;display:block;margin:0 auto;-moz-transform: rotate(-45deg);-webkit-transform: rotate(-45deg);top:110px;border-top:red solid 2px;border-bottom:red solid 2px;">
            COMENZADO
        </div>
    </div>
<?php } ?>